﻿using System;

namespace JanusLibAing.Conditions
{
    public class IdentObject
    {
        private readonly Enum id;

        public IdentObject(Enum id)
        {
            this.id = id;
        }

        /// <summary>
        /// Clone Ctor
        /// </summary>
        protected IdentObject()
        {
            //nothing	
        }

        public override string ToString()
        {
            return String.Format("{0}({1})", id, this.GetHashCode());          //MLHIDE
        }

        public Enum Id
        {
            get { return id; }
        }
    }
}